﻿using System;
using System.Collections.Generic;
using System.Runtime.Serialization;

namespace SlamDunk.MES.IAppService.DTOs.Inputs
{
    /// <summary>
    /// 出库单明细参数模型
    /// </summary>
    [DataContract]
    public struct StockOutOrderDetailParam
    {
        /// <summary>
        /// 物料定义Id
        /// </summary>
        [DataMember]
        public Guid materialId;

        /// <summary>
        /// 物料批次Id
        /// </summary>
        [DataMember]
        public Guid? materialLotId;

        /// <summary>
        /// 数量
        /// </summary>
        [DataMember]
        public decimal quantity;

        /// <summary>
        /// 排序
        /// </summary>
        [DataMember]
        public int sort;

        /// <summary>
        /// 描述
        /// </summary>
        [DataMember]
        public string description;

        /// <summary>
        /// 库存单据条码编号集
        /// </summary>
        [DataMember]
        public IEnumerable<string> relatedBarcodeNos;
    }
}
